Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


Reset

The Reset method replaces this shape's geometric representation with an empty area.

void Reset ();
DISCUSSION
Except for shapes created by the Copy method, newly created shapes start out as empty shapes; this method changes a shape back to the initial state.

The effect of this method is the same as replacing this shape with an empty rectangle by using the SetRectangle method with the empty rectangle (0, 0, 0, 0). However, the Reset method is slightly more efficient.

SEE ALSO
The ODShape::SetRectangle method (page 653).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help